﻿using Dimebrain.TweetSharp.Core.Web;

namespace Dimebrain.TweetSharp.Fluent
{
    public static class IFluentTwitterDirectExtensions
    {
        public static IFluentTwitter Get(this IFluentTwitterDirect instance)
        {
            instance.Root.Method = WebMethod.Get;
            return instance.Root;
        }

        public static IFluentTwitter Post(this IFluentTwitterDirect instance)
        {
            instance.Root.Method = WebMethod.Post;
            return instance.Root;
        }
    }
}
